home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 8
/
The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO
/
pcboard
/
vrs501.zip
/
VRS-M451.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1996-10-08
|
4KB
|
186 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 3.2O (Encryption type I) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Integer INTEGER001
Integer INTEGER002
Integer INTEGER003
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
;------------------------------------------------------------------------------
Goto LABEL001
End
If (0 == 0) STRING001 = "NO"
If (0 == 1) STRING001 = "YES"
EndFunc
:LABEL001
STRING002 = String(PcbNode())
If (PcbNode() == 0) STRING002 = "A"
STRING004 = GetEnv(STRING002 + "RECNO")
STRING004 = ToInteger(STRING004)
STRING005 = "@X01≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡@X0F"
STRING003 = String(Random(1000)) + "X" + STRING002
DOpen 0, PPEPath() + "USER.DBF", 0
DnCreate 0, PPEPath() + STRING003 + ".NDX", "HANDLE"
DGo 0, STRING004
INTEGER001 = DRecNo(0)
DGet 0, "LEVEL", STRING006
DGet 0, "HANDLE", STRING008
DGet 0, "CASH", INTEGER002
STRING008 = Mixed(Trim(STRING008, " "))
INTEGER003 = STRING006 * 645
:LABEL002
Cls
PrintLn
PrintLn
PrintLn "@X0FVirtual Reality Soldier - @X0AUnderground Name Change@X0F"
PrintLn STRING005
PrintLn
PrintLn "@X03You enter a dimly lit room, a flickering bulb over the exit on the other"
PrintLn "@X03side of the room is crackling. the door suddenly opens and a small, hunched"
PrintLn "@X03rather smelly fellow walks in. Roland, the alias man, catches sight of you"
PrintLn "and strides @X03over. So, " + STRING008 + ", you want to change your name, eh?"
PrintLn "These kinds of services don't come cheap my friend, for my time and a new"
PrintLn "name (with all associated documentation), it will cost you ", INTEGER003, " credits"
PrintLn
InputStr "@X0AYou still interested @X0E(@X0BY@X0E/@X0BN@X0E) _", STRING007, 3, 1, "YN", 0 + 8
If (STRING007 == "") Goto LABEL002
If (STRING007 == "N") Goto LABEL004
If (INTEGER002 < INTEGER003) Then
PrintLn "@X0ESorry my friend, I don't work for free, and you don't have the cash"
PrintLn "@X0Ewhy not come see me when you have another ", INTEGER003 - INTEGER002, " credits.@X0F"
Delay (2 * 182) / 10
Else
INTEGER002 = INTEGER002 - INTEGER003
Newlines 2
:LABEL003
Backup 80
ClrEol
InputStr "@X0BWhat do you want your new name to be _", STRING007, 10, 25, Mask_Ascii(), 0 + 8
If (STRING007 == "") Then
Backup 80
ClrEol
Goto LABEL003
Endif
STRING007 = Trim(STRING007, " ")
DTop 0
DTag 0, STRING003
DSeek 0, STRING007
If (DChkStat(0) == 0) Then
Backup 80
ClrEol
Print "@X0CWe've already got a@X0E ", Mixed(STRING007), "@X0C here. Call yourself something else@X0F"
Delay (2 * 182) / 10
DGo 0, INTEGER001
Goto LABEL003
Endif
Backup 80
ClrEol
PrintLn "@X03You settle back in the hard backed chair as Roland does his thing. You "
PrintLn "@X03are amazed at the databases Roland has available to him, your name"
PrintLn "@X03change goes through, and you pay Roland. He takes your money and doesn't"
PrintLn "@X03even look back as he exits as fast as he came in.@X0F"
DGo 0, INTEGER001
DPut 0, "HANDLE", STRING007
DPut 0, "CASH", INTEGER002
Delay (2 * 182) / 10
Goto LABEL004
Endif
:LABEL004
DCloseAll
Delete PPEPath() + STRING003 + ".NDX"
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 2 End
; 1 Cls
; 4 ClrEol
; 10 Goto
; 13 Let
; 1 Print
; 18 PrintLn
; 8 If
; 1 Delete
; 2 InputStr
; 3 Delay
; 1 Newlines
; 4 Backup
; 1 EndFunc
; 1 DOpen
; 1 DCloseAll
; 1 DnCreate
; 1 DTop
; 3 DGo
; 1 DTag
; 1 DSeek
; 3 DGet
; 2 DPut
;
;
; ■ Functions used :
;
; 4 *
; 3 /
; 12 +
; 2 -
; 7 ==
; 1 <
; 3 !
; 2 Trim()
; 1 Random()
; 2 String()
; 1 Mask_Ascii()
; 3 PPEPath()
; 2 PcbNode()
; 1 GetEnv()
; 1 ToInteger()
; 2 Mixed()
; 1 DRecNo()
; 1 DChkStat()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 3 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------